home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Metrowerks CodeWarrior / CodeWarrior Pro 4 Release Notes / Java Notes / JCommand Line.txt < prev    next >
Encoding:
Text File  |  1998-09-04  |  4.7 KB  |  105 lines  |  [TEXT/CWIE]

  1. ========================================================================
  2. Metrowerks Java Command Line Post Linker for Mac OS and Windows NT/95 
  3.                             Release Notes 
  4. ========================================================================
  5.  
  6. Version: 1.0
  7. Date:    08/31/98
  8. Author:  Pedro Larios
  9. ========================================================================
  10.  
  11. The file "ln_jcmdline.dll" is the Metrowerks Java command line linker
  12. for Windows NT/95. On Mac OS it is "JCommand Line".
  13.  
  14. NOTE: SINCE THIS LINKER INVOKES A JAVA COMMAND LINE TOOL, IT REQUIRES
  15. that a Java VM be installed in the system. On Windows, this linker 
  16. requires the Sun JDK VM 1.1.6 or later, or Microsoft's Java VM. On the
  17. Mac, it requires MRJ 2.0 or later.
  18.  
  19. To use the linker, open a Java project and select the Java command line
  20. plugin as the post linker. Then enter the main class and command line 
  21. arguments in the pref panel for the Java command line tool you wish to 
  22. execute. When you build the project, the plugin will invoke the Java
  23. VM and run the command line tool you have specified.
  24.  
  25. For example, to run the RMIC compiler on your project output:
  26. 1. Open the RMIC example.
  27. 2. Set "JCommand Line" as the post linker in the project's target 
  28.    settings.
  29. 3. In the "Java Command Line" pref panel, enter "sun.rmi.rmic.Main" 
  30.    (without the quotes) in the "Main Class Name" field. Then enter
  31.    the name of the class you want to run RMIC on in the "Arguments"
  32.    field ("Server" in this case).
  33. 4. Click "make".
  34.  
  35. Currently, the plugin adds all zips/jars in the project to the VM 
  36. classpath. It also adds the project output to the classpath. Future
  37. versions will have a field in the pref panel where the classpath can be 
  38. specified. Options for instantiating the VM, as well as better error 
  39. reporting mechanisms will also be available in upcoming versions.
  40.  
  41. NOTE: ALTHOUGH THIS PLUGIN CAN EXECUTE ANY JAVA APPLICATION SPECIFIED
  42. in the command line settings, its intended use is to invoke java 
  43. command line post linker type tools (such as RMIC, obfuscators, etc.).
  44. Therefore, there is no support for AWT based apps nor apps which make
  45. use of System.in. Even though the post linker is designed to handle these 
  46. situations gracefully, this use is UNSUPPORTED and the behavior of the 
  47. post linker is UNDEFINED in these situations. Since it is impossible
  48. for the post linker to know what type of application it will be 
  49. invoking, it is the responsibility of the user to make sure that
  50. only the appropriate type of command line tools are run using it.
  51.  
  52. ========================================================================
  53. New Features in This Version
  54. ========================================================================
  55.  
  56. * This is the first release of this product.
  57.  
  58. ========================================================================
  59. Bugs Fixed in This Version
  60. ========================================================================
  61.  
  62. * N/A
  63.  
  64. ========================================================================
  65. Known Bugs and Incompatibilities
  66. ========================================================================
  67.  
  68. * [MAC ONLY] When using a command line tool that generates files (such 
  69.   as the RMIC compiler), the creator and type of the file produced will 
  70.   be incorrect (it will be set to TEXT and CWIE). This should be fixed 
  71.   in future versions.
  72.   
  73. * [MAC ONLY] This version of the Java command line linker is PPC only.
  74.  
  75. ========================================================================
  76. Additional Notes
  77. ========================================================================
  78.  
  79. * [WINDOWS ONLY] THIS LINKER REQUIRES THAT YOU HAVE EITHER THE SUN JDK 
  80.   or JRE 1.1.6 (or higher) installed. The installation programs for these 
  81.   are in the "Extras" folder at the base of the CodeWarrior Windows NT/95 
  82.   Tools CD. The CodeWarrior installation program should have installed 
  83.   this for you.
  84.  
  85. * [MAC ONLY] THIS LINKER REQUIRES THAT YOU HAVE THE MRJ 2.0 OR LATER VM 
  86.   installed. The installation programs for these are in the "Extras" 
  87.   folder at the base of the CodeWarrior MacOS Tools CD. The CodeWarrior 
  88.   installation program should have installed this for you.
  89.  
  90. ========================================================================
  91.  
  92. Contacting Metrowerks
  93. ========================================================================
  94.  
  95. For bug reports, technical questions, and suggestions, please use the
  96. forms in the Release Notes folder on the CD, and send them to
  97.  
  98. support@metrowerks.com
  99.  
  100. See the CodeWarrior on the Nets document in the Release Notes folder for
  101. more contact information, including a list of Internet newsgroups, 
  102. online services, and patch and update sites.
  103.  
  104. ========================================================================
  105.